package at.im.utils;

public class Tileset 
{
	int 		m_tilesetid;
	int			m_userid;
	String 		m_name;
	String 		m_timestamp;
	boolean 	m_ispublic;
	int[]		m_boxes;
	int[]		m_entities;
	
	public Tileset()
	{}
	
	public Tileset(int userid, int tilesetid, String name, int spriteid, String timestamp, boolean ispublic, int[] entities, int[] boxes)
	{
		m_userid 		= userid;
		m_tilesetid 	= tilesetid;
		m_name 			= name;
		m_timestamp 	= timestamp;
		m_ispublic		= ispublic;
		m_boxes			= boxes;
		m_entities		= entities;
	}
	
	public void setEntites(int[] entites)
	{
		m_entities = entites;
	}
	
	public int[] getEntites()
	{
		return m_entities;
	}
	
	public void setBoxes(int[] boxes)
	{
		m_boxes = boxes;
	}
	
	public int[] getBoxes()
	{
		return m_boxes;
	}
	
	public void setPublic(boolean ispublic)
	{
		m_ispublic = ispublic;
	}
	
	public boolean isPublic()
	{
		return m_ispublic;
	}
	
	public void setUserId(int id)
	{
		m_userid = id;
	}
	
	public int getUserId()
	{
		return m_userid;
	}
	
	public void setTilesetId(int id)
	{
		m_tilesetid = id;
	}
	
	public int getTilesetId()
	{
		return m_tilesetid;
	}

	public void setName(String name)
	{
		m_name = name;
	}
	
	public String getName()
	{
		return m_name;
	}
	
	public void setTimeStamp(String timestamp)
	{
		m_timestamp = timestamp;
	}
	
	public String getTimeStamp()
	{
		return m_timestamp;
	}
}
